package com.blue.wechat.invoke.model.menu;

import java.util.ArrayList;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;

public class MenuItem
{
	private MenuType type;
	private String name;
	private String url;
	private String key;
	@JSONField(name="sub_button")
	private List<MenuItem> subButton = new ArrayList<>();

	public MenuItem()
	{
	}

	public MenuType getType()
	{
		return type;
	}

	public void setType(MenuType type)
	{
		this.type = type;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

	public String getKey()
	{
		return key;
	}

	public void setKey(String key)
	{
		this.key = key;
	}

	public List<MenuItem> getSubButton()
	{
		return subButton;
	}

	public void setSubButton(List<MenuItem> subButton)
	{
		this.subButton = subButton;
	}

}
